package com.shy;

/**
 * Created by huangyang on 2017/1/30.
 */
public class MealBuilder {
    public  Meal prepareVegMeal() {
        Meal meal  = new Meal();
        meal.addItem(new VegBurger());
        meal.addItem(new Coke());
        return meal;
    }

    public Meal prepareNonVegMeal() {
        Meal meal = new Meal();
        meal.addItem(new ChikenBurger());
        meal.addItem(new Pepsi());
        return meal;
    }
}
